package com.mazaiting.minio.ex;

import com.mazaiting.common.core.domain.result.ResultCode;
import com.mazaiting.common.core.ex.exceptions.BaseException;

/**
 * minio 异常
 *
 * @author mazaiting
 * @create_time 2022/10/7 15:38
 */
public class MinioException extends BaseException {

    public MinioException(Integer code, String message) {
        super(code, message);
    }

    public MinioException(Integer code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public MinioException(Integer code, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(code, message, cause, enableSuppression, writableStackTrace);
    }

    public MinioException(ResultCode resultCode) {
        super(resultCode);
    }
}
